<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
<script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
<style type="text/css">
.bk{
	width:1000px;
	margin:0 auto;
}
</style>	
</head>
<body>
<div class="bk">
<iframe src="http://player.youku.com/embed/XMzg1NjA2Nzk2" width="100%" height="320" frameborder="0" class="ifBody"></iframe>
</div>	
<script type="text/javascript">
var getHeight=$('.ifBody').width();
$('.ifBody').css('height',getHeight*0.75);
</script>
</body>
</html>